package com.ruoyi.system.api.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 物料档案对象 pcm_material_record
 * 
 * @author liyang
 * @date 2023-11-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PcmMaterialRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品编号 */
    private String productNumber;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String productModel;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private Long productType;

    /** 产品分类 */
    @Excel(name = "产品分类")
    private Long productCategory;

    /** 单位 */
    @Excel(name = "单位")
    private Long unit;

    /** 规格 */
    @Excel(name = "规格")
    private String specification;

    /** 材料 */
    @Excel(name = "材料")
    private String material;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 提交人ID */
    private Long submitter;

    /** 提交人 */
    @Excel(name = "提交人")
    private String submitterName;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submissionTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;

}
